<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta HTTP-EQUIV="pragma" CONTENT="no-cache">
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <meta HTTP-EQUIV="expires" CONTENT="0">

    <title>{$wkj['title']}</title>
    <link rel="stylesheet" type="text/css"
          href="{MON_WKJ_RES}css/admin.css?ver=1">
    <script type="text/javascript">var _speedMark = new Date(), _loadTime = '1429101314';</script>
</head>
<body class="index">
<div style="display:none"><img
        src="{MON_WKJ_RES}images/TB2iVEjcXXXXXXjXpXXXXXXXXXX-23432926.jpg"/></div>
<div id="loading" class="loading">

    <img class="img-responsive"
                                       src="{MON_WKJ_RES}images/TB2qfh4aFXXXXatXpXXXXXXXXXX-23432926.png"
                                       alt="图片"/></div>
<div class="baominghou gyStyle">
    <div class="topImg"><a href="{$wkj['p_url']}">

        <img class="img-responsive" src="{$_W['attachurl']}{$wkj['p_pic']}"
                                                              alt="图片"/></a>
        <!--img class="img-responsive" src="theme/defaulter/images/topimg1.jpg" alt="图片"/-->
        <div class="daijishi" id="daijishi"> 我的活动倒计时：<span
                style="margin-left:0;"></span>天<span></span>时<span></span>分<span></span>秒
        </div>
        <span id="wo" style="display:none">我</span>

        <div class="kucun" style="display:none">30件</div>
        <div class="xianjia" style="display:none">￥???</div>
    </div>
    <div class="infoks"><p class="wenzikk"><span>{$userInfo['nickname']}</span>：<br/> {if $join}{$u_already_tip}{else}{$u_fist_tip}{/if} </p>



        <div class="anniouk clearfix">

            {if $status==$this::$KJ_STATUS_ZC}
                    {if $join}
                    <div class="a1 widthLeft fenxiangDiv"><a href="javascript:;"> <img class="fenxiangk"
                                                                                       src="{MON_WKJ_RES}images/fenxiang.png"
                                                                                       alt="图片"/> <span>找朋友帮我砍</span></a></div>
                    <div class="a2 widthRight" id="myhuodonglist"><a
                            href="{php echo $this->createMobileUrl('ranking',array('kid'=>$wkj['id'],'uid'=>$joinUser['id']),true)}"><img
                            class="wdhuodong" src="{MON_WKJ_RES}images/futou.png"
                            alt="图片"/> <span>排行榜</a></span>                </div>

                    {else}

                            <div class="a1 fenxiangDiv yincangY">
                                <a href="javascript:;"> <img class="fenxiangk" src="{MON_WKJ_RES}images/fenxiang.png" alt="图片"/><span>找朋友帮我砍</span></a>

                            </div>
                            <div class="a2 qingchuFloat">

                                <a href="javascript:;" id="mykanjia"><img class="wdhuodong" src="{MON_WKJ_RES}images/futou.png" alt="图片"/><span>自砍一刀</a></span>
                            </div>

                    {/if}


            {/if}


            {if $status==$this::$KJ_STATUS_WKS}

                <div class="a2 qingchuFloat">

                    <a href="javascript:;" ><img class="wdhuodong" src="{MON_WKJ_RES}images/futou.png" alt="图片"/><span>活动位未开始</a></span>
                </div>

            {/if}



            {if ($status==$this::$KJ_STATUS_JS||$status==$this::$KJ_STATUS_XD||$status==$this::$KJ_STATUS_GM)&&$join}
                <div class="a2 qingchuFloat" ><a
                        href="{php echo $this->createMobileUrl('ranking',array('kid'=>$wkj['id'],'uid'=>$joinUser['id']),true)}"><img
                        class="wdhuodong" src="{MON_WKJ_RES}images/futou.png"
                        alt="图片"/> <span>排行榜</a></span>                </div>
            {/if}

            {if ($status==$this::$KJ_STATUS_JS||$status==$this::$KJ_STATUS_XD||$status==$this::$KJ_STATUS_GM)&&!$join}

                <div class="a2 qingchuFloat">
                    <a href="javascript:;" ><img class="wdhuodong" src="{MON_WKJ_RES}images/futou.png" alt="图片"/><span>活动已结束</a></span>
                </div>

            {/if}


        </div>
    </div>
</div>





<div id="tanchuk" class="tanchuk">
    <div class="tanchukMain">
        <div class="jianqiank"><strong>减0.01元</strong></div>
        <p>朋友，你这一刀已经砍到底了，商品数量有限，快让你朋友斩获吧！</p>

        <div class="anniouk clearfix"><a class="baisea quxiaok" href="javascript:;">取消</a> <a
                class="hongsea fenxiangDiv" href="javascript:;">找朋友帮我砍</a></div>
    </div>
</div>



<div class="contact" style="padding-bottom:10px;text-align:center">

    活动热线：<a href="tel:{$wkj['hot_tel']}" style="color:blue;font-size:16px">{$wkj['hot_tel']}</a>
</div>
<div class="xinyuemin" id="cprt">
    <a href="{$wkj['copyright_url']}" target="_blank">{$wkj['copyright']}</a>
</div>
<div id="zhegaik" class="zhegaik"></div>

<div class="jizanimg">
    <div class="jiantou"></div>
    <p>分享到朋友圈就有机会获赠能量<!-- ，朋友中奖，你也中奖 -->。</p></div>
<div class="fenxiangImgk"><img class="img-responsive"
                               src="{MON_WKJ_RES}images/TB20KOcbFXXXXXmXXXXXXXXXXXX-23432926.png"
                               alt="图片"/></div>
<script type="text/javascript">
    var firend=false;

    var uid="{$joinUser['id']}";

var ajaxUrl="{php echo MonUtil::str_murl($this->createMobileUrl ('Ajax',array('kid'=>$wkj['id'],'uid'=>$joinUser['id']),true)) }";
var rankingUrl="{php echo MonUtil::str_murl($this->createMobileUrl ('Ranking',array('kid'=>$wkj['id']),true)) }"
var res_path="{MON_WKJ_RES}";


/*活动表 活动id*/
var kid = {$wkj['id']};
/*商品表 商品ID*/
var gid = "1";
/*活动参与记录表 参与 ID */
var jid = "492";
/* 是否 参与 过此次活动 true false */
var join = "1";
/* 是否 为 这个活动 砍过价 true false */
var bargain = "1";
/* 活动状态  已购买 已结束  */
var joinstatus = "{$statusText}";


/* 活动结束时间 */
var joinendtime = "1432355143";

//1432355143 1429241661
var endTimeJieshu = {$wkj['endtime']};

var startTimeKaishi = {TIMESTAMP};


/*结束时间 年*/
var year = {$year};
/*结束时间 月*/
var yue = {$month};
/*结束时间 日*/
var date = {$day};
/*结束时间 时*/
var shi = {$hours};
/*结束时间 分*/
var fen = {$minutes};






var kj_status = "SCmyindex";

</script>
<script src="{MON_WKJ_RES}js/jquery-1.11.2.min.js" type="text/javascript"
        charset="utf-8"></script>
<script src="{MON_WKJ_RES}js/wkj.js?ver=6" type="text/javascript" charset="utf-8"></script>
<script src="{MON_WKJ_RES}js/image-lazyload-min.js"></script>



{php echo register_jssdk(false);}
<script type="text/javascript">
    initShare();

    function initShare(){
        wx.ready(function () {
            sharedata = {
                title: "{php echo $wkj['share_title']}",
                desc: "{php echo $wkj['share_content']}",
                link: "{$shareUrl}&uid="+uid,
                imgUrl: "{$_W['attachurl']}{$wkj['share_icon']}",
                success: function(){

                },
                cancel: function(){
                    // alert("分享失败，可能是网络问题，一会儿再试试？");
                }
            };
            wx.onMenuShareAppMessage(sharedata);
            wx.onMenuShareTimeline(sharedata);
        });
    }

</script>




</body></html>